package com.csxy.six.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; // 新增导入
import lombok.Data;
import java.util.Date;

@Data
@TableName("course_material") // 新增注解
public class Material {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    private String description;
    private String fileUrl;
    private Long uploaderId;
    private Date uploadTime;
    private Integer downloadCount;
    private String tags;
}